package com.bsj.pay.model;

import java.io.Serializable;

import com.bsj.pay.util.json.serializer.DateTimeJsonSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

public class OrderBean implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1691083558563504397L;

	private Long id;
	
	private Integer amount;

	/**
	 * 				 <option value="-1">产码中</option>
	 *				 <option value="0">未支付</option>
	 *               <option value="1">已支付</option>
	 *               <option value="3">延迟到账</option>
	 *               <option value="4">产码失败</option>
	 *               <option value="5">支付确认中</option>
	 */
	private Integer status;
	
	private String pay_type;
	
	private String operator;
	
	@JsonSerialize(using = DateTimeJsonSerializer.class )
	private Long pay_time;
	
	private Long merchant_id;
	
	private Long partner_id;
	
	private String merchant_order_no;
	
	private Integer notify_status;
	
	private String notify_url;
	
	private Long account_id;
	
	@JsonSerialize(using = DateTimeJsonSerializer.class )
	private Long create_time;
	
	@JsonSerialize(using = DateTimeJsonSerializer.class )
	private Long update_time;
	
	@JsonSerialize(using = DateTimeJsonSerializer.class )
	private Long notify_time;
	
	private String pay_url;
	
	private Long total_amount;
	
	private Long today_amount;
	
	private Long today_wechat_amount;
	
	private Long today_alipay_amount;
	
	private Long all_amount;
	
	private Long all_count;
	
	private Long success_count;
	
	private Long success_amount;
	
	private String time;
	
	private String account;
	
	private String official_order_no;
	
	private Integer notify_times;
	
	private String device_type;
	
	private Long goods_id;
	
	private Integer goods_type;
	
	private String get_cdk_sms;
	
	private Integer get_cdk_status;
	
	private Long get_cdk_time;
	
	private String charge_account;
	
	private Long charge_account_id;
	
	private String query_order_url;
	
	private String remarks;

	private String login_cookie;

	private String notify_token;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getAmount() {
		return amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getPay_type() {
		return pay_type;
	}

	public void setPay_type(String pay_type) {
		this.pay_type = pay_type;
	}

	public Long getPay_time() {
		return pay_time;
	}

	public void setPay_time(Long pay_time) {
		this.pay_time = pay_time;
	}

	public Long getMerchant_id() {
		return merchant_id;
	}

	public void setMerchant_id(Long merchant_id) {
		this.merchant_id = merchant_id;
	}

	public String getMerchant_order_no() {
		return merchant_order_no;
	}

	public void setMerchant_order_no(String merchant_order_no) {
		this.merchant_order_no = merchant_order_no;
	}

	public Integer getNotify_status() {
		return notify_status;
	}

	public void setNotify_status(Integer notify_status) {
		this.notify_status = notify_status;
	}

	public String getNotify_url() {
		return notify_url;
	}

	public void setNotify_url(String notify_url) {
		this.notify_url = notify_url;
	}

	public Long getAccount_id() {
		return account_id;
	}

	public void setAccount_id(Long account_id) {
		this.account_id = account_id;
	}

	public Long getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Long create_time) {
		this.create_time = create_time;
	}

	public Long getNotify_time() {
		return notify_time;
	}

	public void setNotify_time(Long notify_time) {
		this.notify_time = notify_time;
	}

	public String getPay_url() {
		return pay_url;
	}

	public void setPay_url(String pay_url) {
		this.pay_url = pay_url;
	}

	public Long getTotal_amount() {
		return total_amount;
	}

	public void setTotal_amount(Long total_amount) {
		this.total_amount = total_amount;
	}

	public Long getToday_amount() {
		return today_amount;
	}

	public void setToday_amount(Long today_amount) {
		this.today_amount = today_amount;
	}

	public Long getToday_wechat_amount() {
		return today_wechat_amount;
	}

	public void setToday_wechat_amount(Long today_wechat_amount) {
		this.today_wechat_amount = today_wechat_amount;
	}

	public Long getToday_alipay_amount() {
		return today_alipay_amount;
	}

	public void setToday_alipay_amount(Long today_alipay_amount) {
		this.today_alipay_amount = today_alipay_amount;
	}

	public Long getAll_amount() {
		return all_amount;
	}

	public void setAll_amount(Long all_amount) {
		this.all_amount = all_amount;
	}

	public Long getAll_count() {
		return all_count;
	}

	public void setAll_count(Long all_count) {
		this.all_count = all_count;
	}

	public Long getSuccess_count() {
		return success_count;
	}

	public void setSuccess_count(Long success_count) {
		this.success_count = success_count;
	}

	public Long getSuccess_amount() {
		return success_amount;
	}

	public void setSuccess_amount(Long success_amount) {
		this.success_amount = success_amount;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public Integer getNotify_times() {
		return notify_times;
	}

	public void setNotify_times(Integer notify_times) {
		this.notify_times = notify_times;
	}

	public String getDevice_type() {
		return device_type;
	}

	public void setDevice_type(String device_type) {
		this.device_type = device_type;
	}


	public String getOfficial_order_no() {
		return official_order_no;
	}

	public void setOfficial_order_no(String official_order_no) {
		this.official_order_no = official_order_no;
	}

	public Long getGoods_id() {
		return goods_id;
	}

	public void setGoods_id(Long goods_id) {
		this.goods_id = goods_id;
	}

	public Integer getGoods_type() {
		return goods_type;
	}

	public void setGoods_type(Integer goods_type) {
		this.goods_type = goods_type;
	}

	public String getGet_cdk_sms() {
		return get_cdk_sms;
	}

	public void setGet_cdk_sms(String get_cdk_sms) {
		this.get_cdk_sms = get_cdk_sms;
	}

	public Integer getGet_cdk_status() {
		return get_cdk_status;
	}

	public void setGet_cdk_status(Integer get_cdk_status) {
		this.get_cdk_status = get_cdk_status;
	}

	public Long getGet_cdk_time() {
		return get_cdk_time;
	}

	public void setGet_cdk_time(Long get_cdk_time) {
		this.get_cdk_time = get_cdk_time;
	}

	public String getCharge_account() {
		return charge_account;
	}

	public void setCharge_account(String charge_account) {
		this.charge_account = charge_account;
	}

	public Long getCharge_account_id() {
		return charge_account_id;
	}

	public void setCharge_account_id(Long charge_account_id) {
		this.charge_account_id = charge_account_id;
	}

	public String getQuery_order_url() {
		return query_order_url;
	}

	public void setQuery_order_url(String query_order_url) {
		this.query_order_url = query_order_url;
	}

	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public Long getUpdate_time() {
		return update_time;
	}

	public void setUpdate_time(Long update_time) {
		this.update_time = update_time;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public Long getPartner_id() {
		return partner_id;
	}

	public void setPartner_id(Long partner_id) {
		this.partner_id = partner_id;
	}

	public String getLogin_cookie() {
		return login_cookie;
	}

	public OrderBean setLogin_cookie(String login_cookie) {
		this.login_cookie = login_cookie;
		return this;
	}

	public String getNotify_token() {
		return notify_token;
	}

	public void setNotify_token(String notify_token) {
		this.notify_token = notify_token;
	}
}
